app.service("userService",function($http){
    this.findPage = function(page,rows,user){
        return $http.post("/user/findPage.do?page="+page+"&rows="+rows,user);
    };
    this.save = function(user){
        return $http.post("/user/save.do",user);
    };
    this.edit = function(uid){
        return $http.get("/user/edit.do?uid="+uid);
    };
    this.update = function(user){
        return $http.post("/user/update.do",user);
    };
    this.dele = function(ids){
        return $http.post("/user/dele.do?ids="+ids);
    }
});